package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品类型
 * </p>
 *
 * @author 陈永鹏
 * @since 2019-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zs_goods_type")
public class GoodsType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 商品类型主键
     */
    @TableId(value = "gt_id", type = IdType.AUTO)
    private Integer gt_id;

    /**
     * 商品类型名称
     */
    private String gt_title;

    /**
     * 0 没删 1删除
     */
    private Boolean is_delete;

    /**
     * 记录属性的表的名称 
     */
    private String tbl_name;

    /**
     * 是否允许删除
     */
    private Boolean del_allow;


}
